-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Default endpoints and gateway accessors are cached between requests #337
feat: Default endpoints and gateway accessors are cached between requests #337
Conversation
This looks like the right approach. I'd further split the new function into |
… of https://github.com/rigetti/qcs-sdk-rust into 336-the-gateway-accessor-for-a-qpu-id-should-be-cached
… of https://github.com/rigetti/qcs-sdk-rust into 336-the-gateway-accessor-for-a-qpu-id-should-be-cached
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't approve since I'm the original author, and still interested in @kalzoo's take on the TTL for the cache, but looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving because Marquess commented approval and Kalan provided feedback on TTL.
Resolves #336.
Two open questions:
mocked_qpu
into two tests, one fordefault_endpoint
and one foraccessors
?